package com.ruoyi.message.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description: SMS短信 配置属性
 * @Author: j.zh
 * @Date: 2024/4/29
 * @Version: 1.0
 **/
@Data
@Component
@ConfigurationProperties(prefix = "aliyun")
public class SmsProperties {

    private Boolean enabled;

    /**
     * 配置节点
     */
    private String endpoint;

    /**
     * key
     */
    private String accessKeyId;

    /**
     * 密匙
     */
    private String accessKeySecret;

    /**
     * 短信签名
     */
    private String signName;

    /**
     * 验证码模版
     */
    private String validateTemplate;
}
